package com.qf.controller;

import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 千锋健哥
 */
@RestController
@RequestMapping("/dev/bug")
public class DevController {

    @RequestMapping("/list")
    @PreAuthorize("hasAuthority('dev:bug:list')")
    public String list() {
        return "模拟访问到了开发的bug列表数据";
    }
}
